<?php
/**
 * Created by PhpStorm.
 * User: tsy
 * Date: 2017/5/26
 * Time: 15:27
 */
namespace Admin\Controller\Customer;
use Think\Controller;
use Admin\Controller\Common\BaseController;

class CustReferenceController extends BaseController{
    public function select_count_new_file(){
        if(IS_POST&&I("post.cust_id",'','/^\d+$/')!=''){
            $cust_id=I("post.cust_id");
            $Custreference=D("Custreference");
            $file_count=$Custreference->select_count_new_file($cust_id);
            $this->ajaxReturn($file_count);
        }
    }
}